home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Tool Chest / !Interfaces / Universal Interfaces 2.0a1 / CIncludes / AEUserTermTypes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-17  |  2.4 KB  |  92 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        AEUserTermTypes.h
  3.  
  4.      Copyright:    © 1984-1994 by Apple Computer, Inc.
  5.                  All rights reserved.
  6.  
  7.      Version:    Universal Interfaces 2.0a1.  ETO #15, MPW prerelease.  Sunday, July 17, 1994. 
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. */
  16.  
  17. #ifndef __AEUSERTERMTYPES__
  18. #define __AEUSERTERMTYPES__
  19.  
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. #if GENERATINGPOWERPC
  26. #pragma options align=mac68k
  27. #endif
  28.  
  29. #ifdef __CFM68K__
  30. #pragma lib_export on
  31. #endif
  32.  
  33.  
  34. enum {
  35.     kAEUserTerminology            = 'aeut',                        /*  0x61657574  */
  36.     kAETerminologyExtension        = 'aete',                        /*  0x61657465  */
  37.     kAEScriptingSizeResource    = 'scsz'
  38. };
  39.  
  40. enum {
  41.     kAEUTHasReturningParam        = 31,                            /* if event has a keyASReturning param */
  42.     kAEUTOptional                = 15,                            /* if something is optional */
  43.     kAEUTlistOfItems            = 14,                            /* if property or reply is a list. */
  44.     kAEUTEnumerated                = 13,                            /* if property or reply is of an enumerated type. */
  45.     kAEUTReadWrite                = 12,                            /* if property is writable. */
  46.     kAEUTChangesState            = 12,                            /* if an event changes state. */
  47.     kAEUTTightBindingFunction    = 12,                            /* if this is a tight-binding precedence function. */
  48.     kAEUTApostrophe                = 3,                            /* if a term contains an apostrophe. */
  49.     kAEUTFeminine                = 2,                            /* if a term is feminine gender. */
  50.     kAEUTMasculine                = 1,                            /* if a term is masculine gender. */
  51.     kAEUTPlural                    = 0                                /* if a term is plural. */
  52. };
  53.  
  54. struct TScriptingSizeResource {
  55.     short                            scriptingSizeFlags;
  56.     unsigned long                    minStackSize;
  57.     unsigned long                    preferredStackSize;
  58.     unsigned long                    maxStackSize;
  59.     unsigned long                    minHeapSize;
  60.     unsigned long                    preferredHeapSize;
  61.     unsigned long                    maxHeapSize;
  62. };
  63.  
  64. enum {
  65.     kLaunchToGetTerminology        = (1 << 15),
  66. /* if 0, read aete directly from res file; if 1, then launch and use gdut event  */
  67.     kDontFindAppBySignature        = (1 << 14),
  68. /* if 0, then find app with signature if lost; if 1, then don't */
  69.     kAlwaysSendSubject            = (1 << 13)
  70. };
  71.  
  72. /* if 0, then send subject when appropriate; if 1, then every event has Subject Attribute */
  73. /* old names for above bits. */
  74. enum {
  75.     kReadExtensionTermsMask        = (1 << 15)
  76. };
  77.  
  78.  
  79. #ifdef __CFM68K__
  80. #pragma lib_export off
  81. #endif
  82.  
  83. #if GENERATINGPOWERPC
  84. #pragma options align=reset
  85. #endif
  86.  
  87. #ifdef __cplusplus
  88. }
  89. #endif
  90.  
  91. #endif /* __AEUSERTERMTYPES__ */
  92.